package com.sky.service;

import cn.mybatis.mp.core.mybatis.mapper.context.Pager;
import com.sky.dto.GetBorroweuestsDTO;
import com.sky.dto.UpBorroweuestsStatusDTO;
import com.sky.entity.Borrowrequests;
import com.sky.vo.GetBorroweuestsVO;

public interface BorrowrequestsService {

    /**
     * 获取借阅申请信息分页查询
     *
     * @return 分页的借阅申请信息
     */
    Pager<GetBorroweuestsVO> getBorroweuests(GetBorroweuestsDTO getBorroweuestsDTO);

    /**
     * 借阅申请状态改变
     *
     * @param upBorroweuestsStatusDTO 借阅申请状态修改参数
     */
    void upBorroweuestsStatus(UpBorroweuestsStatusDTO upBorroweuestsStatusDTO);
}
